import {http} from '@/utils/http';

/** 字典 */
export const getDictData = () => http({
	url: '/system/dict-data/simple-list',
});

export const getDict = (str: string) => {
	const data = uni.getStorageSync('dict');
	const json = JSON.parse(data);
	return json.filter((item: any) => item.dictType === str);
}



